﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class Default2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        /*
         * Select * from foodtype
         */

        DataTable foodSource = new DataTable();

        foodSource.Columns.Add("Id", typeof(string));
        foodSource.Columns.Add("Type", typeof(string));

        foodSource.Rows.Add(1, "Beans");
        foodSource.Rows.Add(2, "Corn");
        foodSource.Rows.Add(3, "Canned Friut");
        foodSource.Rows.Add(4, "Seasonal");

        grdDonors.DataSource = foodSource;
        grdDonors.DataBind();
    }
}